﻿#pragma once
#include <string>

int UrlEncode(const void *in, size_t insz, std::string & outstr);
/*
 * URL decode insz bytes from in.
 * ok:return 0
 * If in does not contain valid URL encoded data, returns -1.
 */
int UrlDecode(const void *parm, size_t insz, std::string& outstr);
